package com.shop.dao.bclass;

import com.shop.pajo.BClass;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

public interface IClassDao {
    public List<BClass> query(Connection connection,String queryCode) throws SQLException;
    public BClass queryByAll(Connection connection,String queryCode,String queryClass) throws SQLException;
    public int add(Connection connection,BClass bClass) throws SQLException;
    public int deleteClassById(Connection connection,String id,String bClass) throws SQLException;
}
